package D240509;

public class FinalDetails {
    int b;
    final int a;

    /*public FinalDetails() {
        a = 0;
    }*/

    /*public FinalDetails(int a) {
        this.a = a;
    }*/

    {
        a = 3;
    }

    public void aVoid(final int a) {
        System.out.println(a);
        this.b = a;
        //a = 0;
    }

    public void aVoid() {
        final int a;
        a = 0;
        System.out.println(a);
        //a = 2;
    }

    public void aVoid(final MyClass myClass){
        myClass.i = 1;
    }

    static class MyClass {
        int i;
    }
}
